<?php


namespace catchAdmin\apipatient\controller;


use app\BaseController;
use catcher\CatchResponse;

class Answer extends BaseController
{
    public function getAnswer(string $id): \think\response\Json
    {
        $answerInfo = (new \app\common\business\Answer())->getAnswerById($id);
        return CatchResponse::success($answerInfo);
    }
}